package wfmanage.action;

import java.sql.Date;
import java.text.SimpleDateFormat;

import java.util.*;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.Validateable;
import com.util.MyLog;
//import com.opensymphony.xwork2.Validator;

public class DisplayDate extends ActionSupport implements Validateable{
	private String commandButton;
	private Date uploadedDateDisplay=null;
	Date date;
	SimpleDateFormat test=new SimpleDateFormat();
	

	public Date getUploadedDateDisplay() {
		return uploadedDateDisplay;
	}

	public void setUploadedDateDisplay(Date uploadedDateDisplay) {
		this.uploadedDateDisplay = uploadedDateDisplay;
	}

	public String getCommandButton() {
		return commandButton;
	}

	public void setCommandButton(String commandButton) {
		this.commandButton = commandButton;
	}
	public String execute() throws Exception {
		MyLog.log("date:"+uploadedDateDisplay);
		//date=date.parse(uploadedDateDisplay);
		return "error";
	}
	
	
}
